package cn.softgame.cms.secure.syspro.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.softgame.cms.secure.syspro.domain.SysPubProModel;
import cn.softgame.cms.secure.syspro.persistence.SysPubMapper;

/**
 * @author 李莉
 * 下午03:47:43
 * TODO 系统属性service实现类
 */
@Service
public class SysPubServiceImpl implements SysPubService{

	@Autowired
	private SysPubMapper mapper;
	
	@Override
	public void delete(String propId) {
		mapper.delete(propId);
	}

	@Override
	public SysPubProModel qrySysByModelId(String propId) {
		return mapper.qrySysByModelId(propId);
	}

	@Override
	public List<SysPubProModel> qrySysPubModels(SysPubProModel model) {
		return mapper.qrySysPubModels(model);
	}

	@Override
	public Integer qryTotalRecords(SysPubProModel model) {
		return mapper.qryTotalRecords(model);
	}

	@Override
	public void save(SysPubProModel model) {
		mapper.save(model);
	}

	@Override
	public void update(SysPubProModel model) {
		mapper.update(model);
	}

}
